#pragma once
#include "ui_WarnDialog2.h"
#include <QtWidgets/QDialog>
#include <QtWidgets/QPushButton>

#include "utils/util.h"
class WarnDlg2 : public QDialog
{
	Q_OBJECT
public:
	WarnDlg2(QWidget *parent = Q_NULLPTR);

	void setWarnText(QString text);

	QPushButton* getSureBtn();
	QPushButton* getCancleBtn();


	private slots:
	void onSureBtn();
	void onCancleBtn();

signals:
	void Sure();
signals:
	void Cancle();
private:
	Ui::WarnDlg2 ui;
};
